package view.nn.com.myapplication;

import android.os.Bundle;
import android.webkit.WebView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;

/**
 */
public class RatemeActivity extends BaseActivity {

    private WebView view;
    private ProgressBar progressBar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.rateme_layout);

        view = (WebView) findViewById(R.id.webView);
        LinearLayout parent = (LinearLayout) findViewById(R.id.parentAdview);
        progressBar = (ProgressBar) findViewById(R.id.progress);
        view.setBackgroundColor(0);

        //set adview
        showHP(parent);
        //set interstitial
        showCP();

        //set webview
        setWebView(view, getString(R.string.ratemeUrl), progressBar);


    }
}
